import axios from ".";
export const Login=params=>axios.post("users/login",params)// 登录
export const queryPower=()=>axios.get("power/query")// 权限
export const queryWork=params=>axios.get("assessment/query",{params})// 查询工单
export const queryWorkDetail=params=>axios.get("assessment/queryDetail",{params})// 工单详情
export const updateWork=params=>axios.post("assessment/update",params)// 修改工单
export const removeWork=params=>axios.get("assessment/remove",{params})// 删除工单
export const queryAssess=params=>axios.get("assessmenCount/query",{params})// 查询考核
export const saveAssess=params=>axios.post("assessmenCount/save",params)// 添加考核信息
export const updateAssess=params=>axios.post("assessmenCount/update",params)// 修改考核
export const removeAssess=params=>axios.get('assessmenCount/remove',{params})// 删除考核信息
export const queryPerform=params=>axios.get("rewardPunish/query",{params})// 查询奖惩信息
export const updatePerform=params=>axios.post("rewardPunish/update",params)// 修改奖惩
export const removePerform=params=>axios.get("rewardPunish/remove",{params})// 删除奖惩
export const queryDepart=params=>axios.get("department/query",{params})// 查询部门
export const saveDepart=params=>axios.post("department/save",params)// 添加部门
export const updateDepart=params=>axios.post("department/update",params)// 修改部门
export const removeDepart=params=>axios.get("department/remove",{params})// 删除部门
export const queryPosition=params=>axios.get("position/query",{params})// 查询职位
export const savePosition=params=>axios.post("position/save",params)// 添加职位
export const updatePosition=params=>axios.post("position/update",params)// 修改职位
export const removePosition=params=>axios.get("position/remove",{params})// 删除职位
export const queryEmp=params=>axios.get("employee/query",{params})// 查询员工
export const saveEmp=params=>axios.post("employee/save",params)// 添加员工
export const updateEmp=params=>axios.post("employee/update",params)// 修改员工